﻿using Volo.Abp.Modularity;
using Xms.Abp.Modularity;
using Xms.Abp.Storage;
using Xms.Abp.Storage.DependencyInjection;

namespace TenantManagement;

[DependsOn(
    typeof(TenantManagementDomainModule),
    typeof(XmsAbpStorageModule)
    )]
public class TenantManagementStorageModule : XmsModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddStorage<TenantManagementStorage>(TenantManagementDbProperties.DbTablePrefix, TenantManagementDbProperties.DbSchema);
    }
}
